package org.uniview.common.i18n;

import org.apache.struts.util.MessageResources;
import org.apache.struts.util.MessageResourcesFactory;

/**
 * Factory for <code>XMLMessageResources</code> instances.
 * @author James Gao
 * @version 1.0 2006-12-29
 */
public class XMLMessageResourcesFactory extends MessageResourcesFactory {

	/**
	 * serialUID.
	 */
	private static final long serialVersionUID = -5234260382938237863L;

	/**
	 * @see org.apache.struts.util.MessageResourcesFactory#createResources(java.lang.String)
	 */
	public MessageResources createResources(String config) {
		return new XMLMessageResources(this, config, this.returnNull);
	}

}
